<%@ Register TagPrefix="cc" Namespace="MyFramework.Web.UI.WebControls" Assembly="MyFramework.Web" %>
<%@ Register TagPrefix="uc1" TagName="Pager" Src="../UserControls/Pager.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="CustomerReservedList.aspx.vb" Inherits="MIMS_WRS.Web.CustomerReservedList"%>
<cc:masterpage runat="server" templatefile="~/Stock/StockMasterPage.ascx" id="Masterpage1">
	<cc:contentregion id="crContent" runat="server">
<asp:dropdownlist id="ddlCustomer" runat="server"></asp:dropdownlist>
<asp:button id="btnGo" runat="server" text="GO"></asp:button>&nbsp;&nbsp;&nbsp; 
<asp:linkbutton id="btnAdd" runat="server" text="Add"></asp:linkbutton><br>
<cc:repeater id="rptList" runat="server">
			<headertemplate>
				<table class="List">
					<thead>
						<tr>
							<th align="left">Login name</th>
							<th align="left">
								Product Code</th>
							<th align="left">
								Con Point</th>
							<th align="left">
								Reserved Quantity</th>
							<th align="left">
								Reserved Date</th>
							<th align="left">
								Number of Day</th>
						</tr>
					</thead>
					<tbody>
			</headertemplate>
			<itemtemplate>
				<tr class="ItemRow">
				<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# DataBinder.Eval(Container.DataItem, "LoginName")%></a></td>
					<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# DataBinder.Eval(Container.DataItem, "ProductCode")%></a></td>
					<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# DataBinder.Eval(Container.DataItem, "ConPointDescription")%></a></td>
					<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# GetReservedQtyHTML(Container) %></a></td>
					<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# GetReservedDateHTML(Container) %></a></td>
					<td><a href='ReservedQtyDetail.aspx?procode=<%# DataBinder.Eval(Container.DataItem, "ProductCode")%>&uid=<%# DataBinder.Eval(Container.DataItem, "UserID")%>'><%# DataBinder.Eval(Container.DataItem, "NumberOfDay")%></a></td>
				</tr>
			</itemtemplate>
			<footertemplate>
		</tbody>
		</table>
		</footertemplate>
			<nonetemplate>
				<tr>
					<td colspan="5">
						There is no items.
					</td>
				</tr>
			</nonetemplate>
		</cc:repeater></cc:contentregion>
	<cc:contentregion id="pageTitle" runat="server">Customer's Reserved Quantity List</cc:contentregion>
</cc:masterpage>
